<div class="activity" data-activity>
  <p class="activity__time">
    <%= created_at %>
  </p>
  <div class="activity__content">
    <div>
      <% if title.present? %>
        <p>
          <%= title_icon %>
          <%= title %>
        </p>
      <% end %>
      <a href="<%= resource_link_path %>">
        <%= html_truncate decidim_sanitize(resource_link_text, strip_tags: true), length: 80 %>
      </a>
    </div>
    <% unless hide_participatory_space? %>
      <span>
        <%= participatory_space_link %>
      </span>
    <% end %>
  </div>
  <% if show_author? %>
    <div class="activity__author">
      <%= author %>
    </div>
  <% end %>
</div>
